package com.ibeeking.found.content.b.rest.service;

import com.ibeeking.found.content.service.common.param.BroadcastAnchorParam;
import com.ibeeking.found.content.service.common.query.BroadcastAnchorPageQuery;
import com.ibeeking.found.content.service.common.query.BroadcastAnchorQuery;
import com.ibeeking.found.content.service.common.vo.BroadcastAnchorVO;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

public interface IBroadcastAnchorService {

    /***
     * 查询列表
     */
    List<BroadcastAnchorVO> list(BroadcastAnchorQuery broadcastAnchorQuery);

    /***
     * 分页查询
     */
    Page<BroadcastAnchorVO> pageList(BroadcastAnchorPageQuery broadcastAnchorPageQuery);

    /***
     * 新增
     */
    Boolean add(BroadcastAnchorParam broadcastAnchorParam);

    /***
     * 修改
     */
    Boolean modify(BroadcastAnchorParam broadcastAnchorParam);

    /***
     * 通过id查询
     */
    BroadcastAnchorVO view(Long id);

    /***
     * 发布状态
     */
    Boolean changeStatus(Long id, Integer status);

    /***
     * 通过id删除
     */
    Boolean del(Long id);

}
